package cn.wolfcode.trip.base.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
public class CreditShopQuery extends QueryObject {
    private int state = -1; //状态
    private int type = - 1;//类型
    private int isRecommend = 0;//是否推荐
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    private String orderBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime1;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime1;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime2;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime2;
}
